module PrismBreak {

    export class Subscription {
        public Callback: Function;
        public Priority: number;
        public Token: string;

        constructor(callBack: Function, priority: number, token: string) {

            this.Token = token;

            this.Callback = callBack;

            if (!priority || priority < 0) {
                priority = 0;
            }

            this.Priority = priority;
        }
    }
}